div {
  padding: 1rem;
  margin: 1rem;
  border: 1px solid #ff0000;
}

.box1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a1 {
  position: absolute;
  top: 0px;
  right: 0px;
}

.r1 {
  position: relative;
}

.f1 {
  position: fixed;
  bottom: 2rem;
  right: 1rem;
}

.f1 img {
  width: 2rem;
  height: auto;
}
